Skip to main content

Combo Box

COMBOBOX

Displays a Windows Forms dialog with a ComboBox, populated with options specified in a comma-separated string. The dialog also includes OK and Cancel buttons. Selecting an option and clicking OK returns the selected option. Clicking Cancel or closing the dialog throws an exception.

Parameters

  • comma_separate_options (String): A comma-separated string containing the options to populate the ComboBox.

Returns

The selected option from the ComboBox. If OK is clicked without any selection, an empty string is returned.